package sk.tramtatiri.core;

import org.apache.wicket.behavior.AbstractBehavior;
import org.apache.wicket.model.IModel;

import com.visural.wicket.behavior.beautytips.BeautyTipBehavior;

public class CustomizedBeautyTip extends AbstractBehavior {

	/**
	 * 
	 */
	private static final long serialVersionUID = 8386729196364423967L;

	 private final BeautyTipBehavior btb;

	public CustomizedBeautyTip(String text) {
		btb = new BeautyTipBehavior(text);
	}

	public BeautyTipBehavior getTip() {
		btb.setBackgroundColor("#ffffff");
		btb.setBorderColor("#1294A3");
		btb.setBorderWidth(1);
		btb.setCornerRadius(0);
		btb.setDropShadow(true);
		btb.setPadding(5);
		btb.setSpikeLength(10);
		btb.setSpikeWidth(5);
		return btb;
	}
}
